/*
 * Copyright (c) 2010-2021 Contributors to the Eclipse Foundation
 * 
 * See the NOTICE file(s) distributed with this work for additional
 * information regarding copyright ownership.
 * 
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License 2.0 which is available at
 * http://www.eclipse.org/legal/epl-2.0
 * 
 * SPDX-License-Identifier: EPL-2.0
 */

.dj_gecko .oneui .dijitTextBoxReadOnly INPUT.dijitInputField
/* disable arrow and validation presentation INPUTs but allow real INPUT for text selection */
{
	-moz-user-input: auto !important; /* prevent focus of disabled textbox buttons */
}

.oneui .dijitComboBox,
.oneui .dijitComboBoxActive,
.oneui .dijitHasDropDownOpen .dijitComboBox{
	border-color: #aaaaaa;
}

.oneui .dijitComboBox .dijitInputField {
	padding: 0 10px 0 10px;
}

.oneui .dijitComboBox .dijitDownArrowButton{
	border-color: #ffffff;
}

.oneui .dijitComboBox .dijitInputField .dijitPlaceHolder{
	left: 10px;
	padding: 4px 0 5px 0;
}

.oneui .dijitComboBoxRtl .dijitInputField .dijitPlaceHolder{
	right: 10px;
}

.oneui .dijitComboBox .dijitInputField .dijitInputInner,
.oneui .dijitComboBox .dijitArrowButtonInner{
	padding: 4px 0 5px 0;
	color: #222222;
}

.oneui .dijitComboBox .dijitArrowButtonInner{
	width: 19px;
	background-image: url("images/comboButtonArrows.png");
	background-repeat: no-repeat;
	background-position: -149px 53%;
	border: 0;
}

.dj_ie6 .oneui .dijitComboBox .dijitArrowButtonInner{
	background-image: url("images/comboButtonArrows8bit.png");
}

/* Focused */
.oneui .dijitComboBoxFocused{
	border-color: #008abf;
}

.dj_ie6 .oneui .dijitComboBox .dijitInputField .dijitInputInner,
.dj_ie6 .oneui .dijitComboBox .dijitInputField .dijitPlaceHolder,
.dj_ie6 .oneui .dijitComboBox .dijitArrowButtonInner{
	padding: 5px 0 4px 0;
}

/* Hover */
.oneui .dijitComboBoxHover{
	background-color: #ffffff;
	background-image: none;
}

.oneui .dijitComboBoxInputContainerHover{
	border-color: #66d0e9;
}

.oneui .dijitComboBox .dijitDownArrowButton.dijitDownArrowButtonHover{
	border-color: #aaaaaa;
}

/* ArrowButtonHover */
.oneui .dijitComboBox .dijitDownArrowButtonHover,
.oneui .dijitComboBoxFocused .dijitDownArrowButton{
	border-color: #aaaaaa;
	background-image: none;
	background: #e5e5e5; /* Old browsers */
	background: -moz-linear-gradient(top,  #f4f4f4 0%, #dbdbdb 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f4f4f4), color-stop(100%,#dbdbdb)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #f4f4f4 0%,#dbdbdb 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #f4f4f4 0%,#dbdbdb 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #f4f4f4 0%,#dbdbdb 100%); /* IE10+ */
	background: linear-gradient(top,  #f4f4f4 0%,#dbdbdb 100%); /* W3C */
} 

.oneui .dijitComboBox .dijitDownArrowButtonHover .dijitArrowButtonInner,
.oneui .dijitComboBox .dijitDownArrowButtonActive .dijitArrowButtonInner,
.oneui .dijitHasDropDownOpen .dijitComboBox .dijitArrowButtonInner{
	background-position: -49px 53%;
}

/* ArrowButtonActive */
.oneui .dijitComboBox .dijitDownArrowButtonActive,
.oneui .dijitHasDropDownOpen .dijitComboBox .dijitDownArrowButton{
	border-color: #aaaaaa;
	background-image: none;
	background: #cccccc; /* Old browsers */
	background: -moz-linear-gradient(top,  #dbdbdb 0%, #f4f4f4 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#dbdbdb), color-stop(100%,#f4f4f4)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #dbdbdb 0%,#f4f4f4 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #dbdbdb 0%,#f4f4f4 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #dbdbdb 0%,#f4f4f4 100%); /* IE10+ */
	background: linear-gradient(top,  #dbdbdb 0%,#f4f4f4 100%); /* W3C */
}

/* Disabled */
.oneui .dijitComboBoxDisabled{
	border-color: #cccccc;
	background: #f3f3f3;
}

.oneui .dijitComboBoxDisabled .dijitDownArrowButton{
	border-color: #f3f3f3;
}

.oneui .dijitComboBoxDisabled,
.oneui .dijitComboBoxDisabled .dijitInputContainer,
.oneui .dijitComboBoxDisabled .dijitInputField .dijitInputInner,
.oneui .dijitComboBoxDisabled .dijitInputField .dijitPlaceHolder,
.oneui .dijitComboBoxDisabled .dijitDownArrowButton{
	color: #aaaaaa;
	background: #f3f3f3
}

/* ReadOnly */
.oneui .dijitComboBoxReadOnly{
	border-color: #bbbbbb;
}

.oneui .dijitComboBoxReadOnly .dijitDownArrowButton.dijitDownArrowButtonHover{
	border-color: #ffffff;
}

.oneui .dijitComboBoxReadOnly .dijitDownArrowButton{
	background: #ffffff;
}

.oneui .dijitComboBoxReadOnly .dijitArrowButtonInner,
.oneui .dijitComboBoxReadOnly .dijitDownArrowButtonActive .dijitArrowButtonInner,
.oneui .dijitComboBoxReadOnly .dijitDownArrowButtonHover .dijitArrowButtonInner{
	background-position: -149px 53%;
}

.oneui .dijitComboBoxReadOnly .dijitDownArrowButtonHover,
.oneui .dijitComboBoxReadOnly .dijitDownArrowButtonActive,
.oneui .dijitComboBoxReadOnlyFocused .dijitDownArrowButton{
	border-color: #ffffff;
}

.oneui .dijitComboBoxReadOnly,
.oneui .dijitComboBoxReadOnly .dijitInputField .dijitInputInner,
.oneui .dijitComboBoxReadOnly .dijitInputField .dijitPlaceHolder,
.oneui .dijitComboBoxReadOnly .dijitDownArrowButton{
	color: #767676;
}

.oneui .dijitComboBoxError{
	border-color: #cd321a;
}
.oneui .dijitComboBoxError .dijitDownArrowButton{
	border-color: #fff3f3;
}

/* *!important* syntax should be avoid to use!
 * This class should be removed once the *!important* sytax in
 * the class .oneui .dijitTextBoxFocused .dijitButtonNode (Common.css) get
 * revmoed by Jay Z.
 *  */
.oneui .dijitComboBoxReadOnlyFocused .dijitButtonNode{
	border-left-color: #ffffff !important;
}

.dijit_a11y .dijitComboBoxReadOnly .dijitButtonNode {
	border-style: none!important;
	border-width: 0!important;
}